<div id="page-heading"><h1><?php echo sprintf(lang('file_folders.edit_title'), $folder->name) ?></h1></div>
<?php $this->load->view('partials/notices'); ?>
<form method="post" action="<?php echo site_url('admin/folders/edit/'. $folder->id);?>" enctype="multipart/form-data">
		<table border="0" cellpadding="0" cellspacing="0"  id="id-form">
		<tr>
			<th valign="top"><?php echo lang('file_folders.name_label');?> <span class="require">*</span>:</th>
			<td><?php echo form_input('name', $folder->name, 'class="inp-form"'); ?></td>
			<td></td>
		</tr>
		<tr>
			<th valign="top"><?php echo lang('file_folders.slug_label'); ?><span class="require">*</span>:</th>
			<td><?php echo form_input('slug', $folder->slug, 'class="inp-form"'); ?></td>
			<td></td>
		</tr>
		<tr>
			<th valign="top"><?php echo lang('file_folders.parent_label'); ?> <span class="require">*</span>:</th>
			<td><?php echo form_dropdown('parent_id', array(0 => lang('files.dropdown_no_subfolders')) + $folders_tree, $folder->parent_id, 'id="parent_id" class="select_box"'); ?></td>
			<td></td>
		</tr>
	<tr>
		<th>&nbsp;</th>
		<td valign="top">
			<input type="submit" value="" class="form-submit" />
			<input type="reset" value="" class="form-reset"  />
		</td>
		<td></td>
	</tr>
	</table>
</form>	